

//
//  YZQPageControl.m
//  YZQSCROLLVIEW
//
//  Created by qiang on 16/1/12.
//  Copyright © 2016年 qiang. All rights reserved.
//

#import "GoodManPageControl.h"

@implementation GoodManPageControl

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

+ (instancetype)createPage
{
    //初始化方法
    GoodManPageControl *page = [[GoodManPageControl alloc] init];
    page.currentPage = 0;
    page.numberOfPages = 10;
    page.currentPageIndicatorTintColor = [UIColor orangeColor];
    page.pageIndicatorTintColor = [UIColor cyanColor];
    return page;
}

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        
    }
    return self;
}


@end
